FROM python:3.9.19-slim

WORKDIR /app
COPY requirements.txt /app/

ENV TZ=Asia/Shanghai
RUN pip install --no-cache-dir -r /app/requirements.txt -i https://mirrors.aliyun.com/pypi/simple/

COPY . /app

CMD ["python", "main.py"]